#include <QtGui>

#include "CPDisplay.h"
#include "grid.h"
#include "qGrid.h"

CPDisplay::CPDisplay(QWidget *parent, Grid *grid, Grid *pdSquare)
    : QWidget(parent)
{
    setFixedSize(800, 600);

    QPalette pal = palette();
    pal.setColor( QPalette::Window, Qt::black );
    setPalette( pal );
    setAutoFillBackground(true);

    qgrid = new qGrid(this, grid);
    qpdSquare = new qGrid(this, pdSquare);
}
